// pages/move/danceList.js
var base = require('../../utils/base.js')
Page({
  data:{
    dance:[]
  },
  onLoad:function(options){
    // 页面初始化 options为页面跳转所带来的参数
    this.loadData()
  },
  loadData:function(){
    var that = this
    base.getJson('Dance/danceList', null, function (data) {
      console.log(data)
      that.setData({
        dance:data.dance
      })
    })
  }
})